<div class="head_nav">Danh sách thể loại game</div>
<?php
foreach($data as $row)
{
	$link = base_url()."index.php/danhsach/$row[maloai]";
	echo '<div class="theloai_list">'; 
	echo '<img border="0" align="absmiddle" hspace="5" src="';
	echo base_url().'public/images/dot_list.gif">'; 
	echo "<a href=$link>$row[tenloai] ($row[tong])</a></div>";
	}
?>